package org.csmzxy.class2333;

import java.util.concurrent.Callable;

public class example11 {
    public static void main(String[] args){
        CarFactory.produceCar();
        CarFactory.produceCar();
        CarFactory.produceCar();
        System.out.print("当前生产线上汽车的总数量为" + CarFactory.getTotalCars());
    }
}
